package com.sskj.product.controller;


import com.sskj.product.entity.BibiKline1day;
import com.sskj.product.service.IBibiKline1dayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jerryjin
 * @since 2019-12-19
 */
@RestController
@RequestMapping("/product/bibi-kline1-day")
public class BibiKline1dayController {

    @Autowired
    IBibiKline1dayService iBibiKline1dayService;
    @GetMapping("/get")
    public List<BibiKline1day> get(){
        return iBibiKline1dayService.list();
    }
}
